package com.etone.smartAudit.dto.dataModelType;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotNull;

/**
 * @author: sovy
 * @date: 2020/11/5
 * @description:
 */
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
@ApiModel(value = "数据模型分类表单")
public class DataModelTypeDTO {

    @ApiModelProperty("类型名称")
    @NotNull
    private String name;

    @ApiModelProperty("父级id")
    @NotNull
    private Integer pid;

    @ApiModelProperty("排序")
    @NotNull
    private Integer sort;
}
